import request from '../request'

export function queryContracts(limit: number, page: number) {
    return request.get(`/my/contracts?limit=${limit}&${page}`)
}

export function getContract(contractId: string) {
    return request.get(`/my/contracts/${contractId}`)
}